package hcn.protocol.base.hisNoticeReq;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * @Author:FangZhiyi
 * @Description 推送诊间支付消息入参（XML格式）
 * @Data Created in 2020/11/17 9:59
 * @Moddified By:
 */
@XmlRootElement(name = "BSXml")
public class PayTradeNoticeByHISXMLReq implements Serializable {
    private MsgHeader MsgHeader;
    private PayTradeNotice MsgBody;

    @XmlElement(name = "MsgHeader")
    public MsgHeader getMsgHeader() {
        return MsgHeader;
    }

    public void setMsgHeader(MsgHeader msgHeader) {
        MsgHeader = msgHeader;
    }

    @XmlElement(name = "MsgBody")
    public PayTradeNotice getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(PayTradeNotice msgBody) {
        MsgBody = msgBody;
    }

    public static class  PayTradeNotice{
        private  Certificates Certificates;


        private List<Detail> Details;

        @XmlElement(name = "Certificates")
        public PayTradeNotice.Certificates getCertificates() {
            return Certificates;
        }

        public void setCertificates(PayTradeNotice.Certificates certificates) {
            Certificates = certificates;
        }

        @XmlElementWrapper(name = "Details")
        @XmlElement(name = "Detail")
        public List<Detail> getDetails() {
            return Details;
        }

        public void setDetails(List<Detail> details) {
            Details = details;
        }

        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Certificates{
            private String IdCardCode;
            private String IdCard;

            public String getIdCardCode() {
                return IdCardCode;
            }

            public void setIdCardCode(String idCardCode) {
                IdCardCode = idCardCode;
            }

            public String getIdCard() {
                return IdCard;
            }

            public void setIdCard(String idCard) {
                IdCard = idCard;
            }
        }

        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Detail{
            private String VisitOrganization;
            private String DeptCode;
            private String DeptName;
            private String DoctorId;
            private String DoctorName;
            private String TotalCost;
            private String Remark;
            private String VisitDateTime;
            private String Message;

            public String getVisitOrganization() {
                return VisitOrganization;
            }

            public void setVisitOrganization(String visitOrganization) {
                VisitOrganization = visitOrganization;
            }

            public String getDeptCode() {
                return DeptCode;
            }

            public void setDeptCode(String deptCode) {
                DeptCode = deptCode;
            }

            public String getDeptName() {
                return DeptName;
            }

            public void setDeptName(String deptName) {
                DeptName = deptName;
            }

            public String getDoctorId() {
                return DoctorId;
            }

            public void setDoctorId(String doctorId) {
                DoctorId = doctorId;
            }

            public String getDoctorName() {
                return DoctorName;
            }

            public void setDoctorName(String doctorName) {
                DoctorName = doctorName;
            }

            public String getTotalCost() {
                return TotalCost;
            }

            public void setTotalCost(String totalCost) {
                TotalCost = totalCost;
            }

            public String getRemark() {
                return Remark;
            }

            public void setRemark(String remark) {
                Remark = remark;
            }

            public String getVisitDateTime() {
                return VisitDateTime;
            }

            public void setVisitDateTime(String visitDateTime) {
                VisitDateTime = visitDateTime;
            }

            public String getMessage() {
                return Message;
            }

            public void setMessage(String message) {
                Message = message;
            }
        }
    }

}
